package day09_modi.demo06_static;

public class Test {
    public static void main(String[] args) {
        //static修饰成员变量 就是所有对象共享的一个值，用static所修饰
        Student.school="数加";
        Student zs = new Student();
        zs.name="zs";
        //zs.school="数加";
        System.out.println(zs.school);
        Student ls = new Student();
        ls.name="ls";
        //ls.school="数加";
        System.out.println(ls.school);
    }
}
